<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit">
<title></title>
<link rel="stylesheet" href="../static/admin/css/pintuer.css">
<link rel="stylesheet" href="../static/admin/css/admin.css">
<script src="../static/admin/js/jquery.js"></script>
<script src="../static/admin/js/pintuer.js"></script>

<link rel="stylesheet" href="../static/admin/kindeditor/themes/default/default.css" />
<script src="../static/admin/kindeditor/kindeditor-min.js"></script>
<script src="../static/admin/kindeditor/lang/zh_CN.js"></script>
<script>
var editor;
KindEditor.ready(function(K) {
  editor = K.create('textarea[name="article_desc"]', {
    allowFileManager : true
  });
  editor = K.create('textarea[name="article_content"]', {
    allowFileManager : true
  });
});
</script>

</head>
<body>
<div class="panel admin-panel">
  <div class="panel-head" id="add"><strong><span class="icon-pencil-square-o"></span>增加内容</strong></div>
  <div class="body-content">
    <form method="post" class="form-x" action="order_add.php" enctype="multipart/form-data">  
      <div class="form-group">
        <div class="label">
          <label>订单号：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" value="" name="order_sn" data-validate="required:请输入订单号" />
          <div class="tips"></div>
        </div>
     </div>  

     <div class="form-group">
        <div class="label">
          <label>订单价格：</label>
        </div>
        <div class="field">
          <input type="number" class="input w50" value="" name="order_price" data-validate="required:请输入订单价格" />
          <div class="tips"></div>
        </div>
     </div>

     <div class="form-group">
        <div class="label">
          <label>下单时间：</label>
        </div>
        <div class="field"> 
          <input type="date" class="laydate-icon input w50" name="order_time"  value=""  data-validate="required:日期不能为空" style="padding:10px!important; height:auto!important;border:1px solid #ddd!important;" />
          <div class="tips"></div>
        </div>
     </div> 

     <div class="form-group">
        <div class="label">
          <label>游玩时间：</label>
        </div>
        <div class="field"> 
          <input type="date" class="laydate-icon input w50" name="order_date"  value=""  data-validate="required:日期不能为空" style="padding:10px!important; height:auto!important;border:1px solid #ddd!important;" />
          <div class="tips"></div>
        </div>
     </div> 

     <div class="form-group">
        <div class="label">
          <label>取票人：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" value="" name="order_username" data-validate="required:请输入取票人名字" />
          <div class="tips"></div>
        </div>
     </div>

     <div class="form-group">
        <div class="label">
          <label>手机号：</label>
        </div>
        <div class="field">
          <input type="number" class="input w50" value="" name="order_phone" data-validate="required:请输入手机号" />
          <div class="tips"></div>
        </div>
     </div>

     <div class="form-group">
        <div class="label">
          <label>订单数量：</label>
        </div>
        <div class="field">
          <input type="number" class="input w50" value="" name="order_number" data-validate="required:请输入订单数量" />
          <div class="tips"></div>
        </div>
     </div>

      <div class="form-group">
        <div class="label">
          <label>下单产品：</label>
        </div>
        <div class="field">
          <select name="product_id" class="input" style="width:200px; line-height:17px;">
            <option value="">请选择产品</option>
            {foreach from=$pro_list item='item'}
            <option value="{$item.product_id}">{$item.product_name}</option>
            {/foreach}
          </select>
          <div class="tips"></div>
        </div>
      </div>

      <div class="form-group">
        <div class="label">
          <label>用户：</label>
        </div>
        <div class="field">
          <select name="user_id" class="input" style="width:200px; line-height:17px;">
            <option value="">请选择用户</option>
            {foreach from=$user_list item='item'}
            <option value="{$item.user_id}">{$item.user_phone}</option>
            {/foreach}
          </select>
          <div class="tips"></div>
        </div>
      </div>
     
      <div class="clear"></div>


      <div class="form-group">
        <div class="label">
          <label></label>
        </div>
        <div class="field">
          <button class="button bg-main icon-check-square-o" type="submit"> 提交</button>
        </div>
      </div>
    </form>
  </div>
</div>

</body></html>